<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="true">
  <head>  
    <title>葡萄酒/编辑</title>
    <%@ include file="../link_script.jsp" %>
    <script type="text/javascript">
    $(function() { 
      $("form").validity(function() {
        $("#wineName").require();
        $("#wineNum").require();
      });
    });
  </script>
  </head>
<body> 
<form action="wine.do?method=editWine_Do&pageNum=${pageNum }" method="post" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@ include file="../operate_button_add.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#b5d6e6">       
          <tr>
            <td width="100%" class="STYLE32">编辑酒/葡萄酒</td>
          </tr>
          <tr>
            <td class="STYLE1"><table width="100%" border="0" bordercolor="#b5d6e6" cellpadding="0" cellspacing="0">
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;零售价 /箱: </td>
                <td class="STYLE11"><input type="text" id="wineRetailPrice1" name="wineRetailPrice1" value="${wine.wineRetailPrice1}" size="30"/>
                                          ￥/箱&nbsp;<font color="red">*</font>&nbsp;请根据实际情况设定整箱零售价&nbsp;</td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;零售价 /瓶: </td>
                <td class="STYLE11"><input type="text" id="wineRetailPrice2" name="wineRetailPrice2" value="${wine.wineRetailPrice2}" size="30"/>
                                           ￥/瓶&nbsp;<font color="red">*</font>&nbsp;请根据实际情况设定单瓶零售价&nbsp;</td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;优惠: </td>
                <td class="STYLE11"><input type="text" id="wine1" name="wine1" value="${wine.wine1}" size="30"/>
                &nbsp;<input type="text" id="wine2" name="wine2" value="${wine.wine2}" size="30"/>
                &nbsp;<input type="text" id="wine3" name="wine2" value="${wine.wine3}" size="30"/>
                &nbsp;<font color="red">*</font>&nbsp;请输入值“+，-，*，/”开头，“+”表示在成本上增加，“-”表示在成本上减少&nbsp;</td>
              </tr>
              <tr>
                <td class="STYLE51"><hr width="100%" color="#b5d6e6"/></td>
                <td class="STYLE11"><hr width="100%" color="#b5d6e6"/></td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;酒/葡萄酒名称 : </td>
                <td class="STYLE11"><input type="text" id="wineName" name="wineName" value="${wine.wineName}" size="30" title="酒/葡萄酒名不能为空" readonly />
                &nbsp;<font color="red">*</font>&nbsp;&nbsp;</td>
              </tr>
              <tr>
                <td class="STYLE51" width="8%">&nbsp;&nbsp;</td>
                <td class="STYLE11"><input type=hidden id="wineID" name="wineID" value="${wine.wineID}" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td class="STYLE12"><input type="submit" value="提交"/><input type="reset" value="取消"/></td>
          </tr>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@ include file="../no_page.jsp"%>
</table>
</form>
</body>
</html>
